package com.explore.demo.controller;


import com.explore.demo.common.ServerResponse;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author gaolainan
 * @since 2021-05-13
 */
@RestController
@RequestMapping("/welfare_category")
public class WelfareCategoryController {


    @GetMapping("/test")
    @ApiOperation("测试的接口")
    public ServerResponse getTestInfo(){
        return ServerResponse.createByErrorMessage("hello world");
    }
}

